﻿Public Class NhaCungCapBUS
    Public Function GetNhaCungCap() As DataTable
        Dim cc As New NhaCungCapDAO
        Return cc.GetNhaCungCap()
    End Function

    Public Sub AddNhaCungCap(ByVal newCC As NhaCungCapDTO)
        Dim cc As New NhaCungCapDAO
        cc.AddNhaCungCap(newCC)
    End Sub

    Public Sub DelNhaCungCap(ByVal delCC As NhaCungCapDTO)
        Dim cc As New NhaCungCapDAO
        cc.DelNhaCungCap(delCC)
    End Sub

    Public Sub UpdateNhaCungCap(ByVal newCC As NhaCungCapDTO)
        Dim cc As New NhaCungCapDAO
        cc.UpdateNhaCungCap(newCC)
    End Sub

End Class

